package com.xbongbong.pro.menu.pojo.dto;

import com.xbongbong.paas.enums.DelEnum;
import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 首页-菜单设置-菜单列表
 * @author 吴峰
 * @version v1.0
 * @date 2019/2/26 18:54
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class HomeMenuSetListDTO extends BaseDTO {

    private static final long serialVersionUID = 6708031812240759687L;
    /**
     * 删除标识
     * @see DelEnum
     */
    private Integer del;
    /**
     * 是否启用 1：启用；0：不启用
     */
    private Integer enable;

    /**
     * 1：手机上快捷新建的请求
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private Integer quickDingtalk;

    public HomeMenuSetListDTO(){
        enable = 1;
        del = DelEnum.NORMAL.getDel();
    }
}
